import { KuiStickyProps } from './type';
import { PropType } from 'vue';

export default {
	/**
	 * @zh 吸顶位置
	 */
	position: {
		type: String as PropType<KuiStickyProps['position']>,
		default: 'top' as KuiStickyProps['position']
	},
	/**
	 * @zh 吸顶距离
	 */
	top: {
		type: Number,
		default: 0
	},
	/**
	 * @zh 吸底距离
	 */
	bottom: {
		type: Number,
		default: 0
	},
	/**
	 * @zh 吸顶层级
	 */
	zIndex: {
		type: Number,
		default: 1000
	},
	/**
	 * @zh 指定容器的HTML标签
	 */
	container: {
		type: Object as PropType<Element>
	},
	/**
	 * @zh 指定容器的ID
	 */
	containerId: {
		type: String,
		default: ''
	},
	/**
	 * @zh
	 */
	proxy: {
		type: Object
	}
}